/*
-----------------------------------------------------------------------------
This source file is part of Labor3D
(Labor 3D Graphics Engine)

Copyright (c) 2009-2020 Rock Mao
* creator : Rock Mao
* created : 2009-9-20   22:29
* filename: LaborCommonFunction.h
-----------------------------------------------------------------------------
*/

#ifndef __LABORCOMMONFUNCTION_H__
#define __LABORCOMMONFUNCTION_H__
#include "LaborCoreDef.h"
#include <string>
#include <windows.h>
using namespace std;

LABORCORE_FUNC_API const wchar_t*  getFileExtW(const wchar_t* fileName);
LABORCORE_FUNC_API const char*     getFileExtA(const char* fileName);
 
LABORCORE_FUNC_API bool Labor_LocaleToUnicode(const char* _in, wchar_t* _out,int outlen);
LABORCORE_FUNC_API bool Labor_UnicodeToLocale(const wchar_t* _in, char* _out,int outlen);

#endif